<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html lang="en" xml:lang="en" xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title></title>
<script type="text/javascript">
function updateTotal(s){
var newTotal=0;
var allEls=document.getElementsByTagName("*");
	for(var i=0;i<allEls.length;i++)
	{
	if(allEls[i].getAttribute("name")!=s)continue;
	if(isNaN(allEls[i].value))continue;
	newTotal+=new Number(allEls[i].value);
	}
var e=document.getElementById("totalCell");
e.firstChild.data="  Total =  "+newTotal;
} 
</script>
</head>
<body>
<table><tr>
<td><input type="text" onblur="updateTotal('putts[]')" size="2" name="putts[]" maxlength="1" value=""/></td>
<td><input type="text" onblur="updateTotal('putts[]')" size="2" name="putts[]" maxlength="1" value=""/></td>
<td><input type="text" onblur="updateTotal('putts[]')" size="2" name="putts[]" maxlength="1" value=""/></td>
<td><input type="text" onblur="updateTotal('putts[]')" size="2" name="putts[]" maxlength="1" value=""/></td>
<td><input type="text" onblur="updateTotal('putts[]')" size="2" name="putts[]" maxlength="1" value=""/></td>
<td id="totalCell">&nbsp;</td>
</tr></table>
</body>
</html>